package com.upay.android.domain.authentication;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;

public class Credentials implements Serializable {
	
	/* ---- Constants ---- */
	private static final long serialVersionUID = 201203032116L;
	
	/* ---- Instance Variables ----*/
	
	private String userName = null;
	private String password = null;
	
	/* ---- Constructors ----*/
	
	public Credentials() {
		super();
	}
	
	public Credentials(String userName, String password) {
		super();
		this.userName = userName;
		this.password = password;
	}

	/* ---- Business Methods ----*/

	public String toString() {
		return new ToStringBuilder(this)
			.appendSuper(super.toString())
			.append("userName", userName)
			.append("password", password)
			.toString();
	}
	
	/* ---- Getters and Setters ----*/

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}



}
